package com.smedi.ismedi.cronjob.core.infrastructure.persistence.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "job_info")
public class JobInfoEntity extends BasicFieldEntity implements Serializable {
    @TableField(value = "name")
    private String name;

    @TableField(value = "job_group")
    private String jobGroup;

    @TableField(value = "cron_expression")
    private String cronExpression;

    @TableField(value = "description")
    private String description;

    @TableField(value = "parameter")
    private String parameter;

    @TableField(value = "type")
    private String type;

    @TableField(value = "service_name")
    private String serviceName;

    @TableField(value = "url")
    private String url;

    @TableField(value = "pause")
    private Boolean pause;
}
